<!DOCTYPE html>
<html lang="zh">
<head>
	<meta charset="UTF-8" />
	<meta name="viewport" content="width=device-width, initial-scale=1.0" />
	<meta http-equiv="X-UA-Compatible" content="ie=edge" />
	<title>vw和vh体验</title>
	<style type="text/css">
		*{
			padding: 0;
			margin: 0;
		}
		div{
			width: 60vw;
			height: 30vw;
			background: pink;
		}
		.dier{
			width: 60vh;
			height: 30vh;
			background: blue;
		}
	</style>
</head>
<body>
	<div>1
	</div>
	<div class="dier"></div>
</body>
</html>